<template>
    <div class="app-header">
        <slot name="header-left"></slot>
        <p class="tit">
            <slot name="header-tit"></slot>
        </p>
        <slot name="header-right"></slot>
    </div>
</template>

<script>
export default {
    name:"AppHeader"
}
</script>
<style lang="scss" scoped>
.app-header{
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    align-items: center;
    .icon{
        width: 17px;
        height: 17px;
        vertical-align: middle;
        path{
            fill:#333
        }
    }
    .tit{
        flex-grow: 1;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
    }
}
</style>